package base

type TenantListRequest struct {
	Page     int32 `form:"page" binding:"required,min=1,max=1000" err:"页码参数错误"`
	PageSize int32 `form:"page_size" binding:"required,min=1,max=2000"  err:"页面大小参数错误"`
}

type TenantListResponse struct {
	Total int64             `json:"total"`
	List  []*TenantListItem `json:"list"`
}

type TenantListItem struct {
	TenantCode string `json:"tenant_code"`
	TenantName string `json:"tenant_name"`
}
